/*
 * @Author: 谢子健 1075010289@qq.com
 * @Date: 2024-10-19 21:28:52
 * @LastEditors: 谢子健 1075010289@qq.com
 * @LastEditTime: 2024-10-19 21:29:07
 * @FilePath: \ilink-vue-frontend\src\stores\studyRecordStore.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineStore } from 'pinia';

export const useStudyRecordStore = defineStore('studyRecord', {
  state: () => ({
    studyRecordData: null as any,
  }),
  actions: {
    setStudyRecordData(data: any) {
      this.studyRecordData = data;
    },
  },
});
